<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>在线客服</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <style>
        /* 隐藏滚动条 */
        ::-webkit-scrollbar {
            display: none;
        }
        body {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        /* Mock up 样式 */
        .mock-up {
            position: relative;
            width: 375px;
            height: 812px;
            margin: 0 auto;
            background: #f6f6f6;
            border-radius: 40px;
            overflow: hidden;
        }
        /* 状态栏样式 */
        .status-bar {
            height: 44px;
            background: transparent;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            color: #000;
            font-size: 14px;
        }
        /* 聊天气泡样式 */
        .chat-bubble {
            max-width: 70%;
            border-radius: 16px;
            padding: 12px;
            margin: 8px 0;
        }
        .chat-bubble.customer {
            background: #e3f2fd;
            border-top-left-radius: 4px;
        }
        .chat-bubble.service {
            background: #fff;
            border-top-right-radius: 4px;
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="mock-up">
        <!-- 状态栏 -->
        <div class="status-bar">
            <span>9:41</span>
            <div class="flex items-center space-x-1">
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/>
                </svg>
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M2 22h20V2L2 22z"/>
                </svg>
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/>
                </svg>
            </div>
        </div>

        <!-- 顶部导航 -->
        <div class="bg-white px-4 py-3 flex justify-between items-center border-b border-gray-100">
            <button class="text-gray-500">
                <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
                </svg>
            </button>
            <h1 class="text-lg font-medium">在线客服</h1>
            <button class="text-blue-500 text-sm font-medium">常见问题</button>
        </div>

        <!-- 聊天区域 -->
        <div class="h-[calc(100%-180px)] overflow-auto px-4 py-4">
            <!-- 系统消息 -->
            <div class="text-center text-xs text-gray-400 my-4">今天 09:41</div>

            <!-- 客服消息 -->
            <div class="flex items-start mb-4">
                <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white text-sm mr-2">客</div>
                <div class="chat-bubble service">
                    <p class="text-sm">您好！我是您的专属客服小助手，请问有什么可以帮您？</p>
                </div>
            </div>

            <!-- 用户消息 -->
            <div class="flex items-start flex-row-reverse mb-4">
                <div class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center text-gray-500 text-sm ml-2">我</div>
                <div class="chat-bubble customer">
                    <p class="text-sm">你好，我想咨询一下毕业季特惠活动的详情</p>
                </div>
            </div>

            <!-- 客服消息 -->
            <div class="flex items-start mb-4">
                <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white text-sm mr-2">客</div>
                <div class="chat-bubble service">
                    <p class="text-sm">好的，我们目前推出了"走之毕业季"特惠活动，从即日起到8月31日，所有毕业生都可以享受以下优惠：</p>
                    <ol class="text-sm mt-2 list-decimal pl-4">
                        <li>国内线路8折优惠</li>
                        <li>国际线路85折优惠</li>
                        <li>定制行程享受额外5%返现</li>
                    </ol>
                    <p class="text-sm mt-2">您是应届毕业生吗？需要我为您详细介绍具体线路吗？</p>
                </div>
            </div>
        </div>

        <!-- 底部输入框 -->
        <div class="absolute bottom-0 left-0 right-0 bg-white border-t border-gray-100 p-4">
            <div class="flex items-center space-x-2">
                <button class="text-gray-500">
                    <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
                    </svg>
                </button>
                <input type="text" placeholder="请输入消息..." class="flex-1 py-2 px-4 bg-gray-100 rounded-full focus:outline-none text-sm">
                <button class="text-gray-500">
                    <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"/>
                    </svg>
                </button>
                <button class="bg-blue-500 text-white px-4 py-2 rounded-full text-sm">发送</button>
            </div>
        </div>
    </div>
</body>
</html>